import React, { Component } from 'react';
import { NavBar, Space, Toast } from 'antd-mobile'


class MyNavBar extends Component {

    render() {
        // const back = () =>
        //     Toast.show({
        //         content: '点击了返回区域',
        //         duration: 1000,
        //     })
        return (
            <div>
                <NavBar children={this.props.children}></NavBar>
            </div>
        );
    }
}

export default MyNavBar;